package com.sumover.Service;

import com.sumover.POJO.*;

import java.util.List;

public interface CommentService {

    List<GameComment> getGameComments(Game game);

    boolean haveReply(Object level);

    Object getReply(Object level);

    List<ArticleComment> getArticleComments(Article article);

    List<Level> getGameLevels(Game game);

    List<Level> getArticleLevels(Article article);

    void addNewGameComments(Game game, String commentText, User user);

    void addNewArticleComment(Article article, String commentText, User loginUser);

    void addNewReplyInArticle(Article article, Integer replyToLevel, String replyText, User loginUser);

    void addNewReplyInGame(Game game, Integer replyToLevel, String replyText, User loginUser);
}
